Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Objects /
Chapter 7 - View-Related Objects / View-Related Objects Reference
View Port Functions / Manipulating View Port Object Properties


GXGetViewPortDither

You can use the GXGetViewPortDither function to examine the dither level of a view port object.

long GXGetViewPortDither(gxViewPort source);
source
A reference to the view port whose dither level you wish to examine.
function result
The view port's dither level.
DESCRIPTION
The GXGetViewPortDither function returns the view port dither level, which is a value between 0 and 16, inclusive. The values 0 and 1 both mean do not dither.

ERRORS, WARNINGS, AND NOTICES
Errors 
invalid_viewPort_reference
SEE ALSO
For an example of the use of this function, see Listing 7-13 on page 7-61.

To set the dither level, use the GXSetViewPortDither function, described next.

For information about the dither property, see "Dither" beginning on page 7-10.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996